import time

import selenium
from selenium import webdriver
from selenium.webdriver.common.by import By

driver=webdriver.Firefox()
driver.get('https://www.jiuxian.com/')
driver.maximize_window()
time.sleep(3)
yuansu=driver.find_element(By.XPATH,'//*[@id="_nowactstr3"]/div/h3/a')

#文本
print(yuansu.text)
#集体属性值
print(yuansu.get_attribute('class'))
#宽高
print(yuansu.size)
#坐标
print(yuansu.location)
#是否可用
print(yuansu.is_enabled())
#是否显示
print(yuansu.is_displayed())
#是否被选中
print(yuansu.is_selected())